package com.xinz.protocal.client;

import java.lang.reflect.Method;

import com.xinz.protocal.Session;

public interface RequestHeaderProvider {

	/**
	 * 提供一个请求的Header（客户端用）
	 * @param session
	 * @param method
	 * @param responseHeader
	 * @param args
	 * @return
	 */
	Object provideRequestHeader(Session session, Method method, Object responseHeader, Object[] args);
	
	public static class Abstract implements RequestHeaderProvider {

		@Override
		public Object provideRequestHeader(Session session, Method method,
				Object responseHeader, Object[] args) {
			// TODO Auto-generated method stub
			return null;
		}
		
	}
}
